package hbase.crud.entity;

public class Student {
    private String name;
    private StudentInfo info;
    private StudentScore score;

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public Student(String name, StudentInfo info, StudentScore score) {
        this.name = name;
        this.info = info;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public StudentInfo getInfo() {
        return info;
    }

    public void setInfo(StudentInfo info) {
        this.info = info;
    }

    public StudentScore getScore() {
        return score;
    }

    public void setScore(StudentScore score) {
        this.score = score;
    }

    @Override
    public String toString(){
        return name+":"+info.toString()+","+score.toString();
    }
}
